package com.duo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * @Author: Xrx
 * @Description:
 * @CreateTime: 2023/7/7 18:19
 */
@Data
public class SetmealDishDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 套餐名称
     */
    @NotBlank(message = "套餐名称不能为空")
    private String setmealName;

    /**
     * 菜品名称
     */
    @NotEmpty(message = "菜品名称不能为空")
    private List<Long> dishIds;


}
